// package: rewords-server-2024
// filename: common
// author: diogoxiang@gmail.com
// time: 2024/7/25 下午2:36

package common

import "github.com/gogf/gf/v2/frame/g"

// WechatInfoReq 微信信息
type WechatInfoReq struct {
	g.Meta `path:"/wechat/info" method:"get" summary:"获取微信信息" tags:"微信"`
	Code   string `json:"code" v:"required#微信code不能为空"`
}

// WechatInfoRes 微信信息
type WechatInfoRes struct {
	OpenId     string `json:"openId"`
	SessionKey string `json:"sessionKey"`
	UnionId    string `json:"unionId"`
}
